package org.example.library_management_system.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.library_management_system.Model.UserInfo;

import java.util.List;

@Mapper
public interface IUserInfoMapper {

    @Select("SELECT id,user_Name,password,gender,email,delete_flag,create_time,update_time from user_info where user_name =#{userName}")
    UserInfo selectByUsername(String userName);

}
